<?php
class LogController extends EController
{
	public $layout = 'main';

	//过滤器
	public function filters()
	{
		return array(
			array(
				'application.filters.BackEndAuthRequestFilter',
			)
		);
	}	

	public function actionindex()
	{
		$this->layout='list';
		$this->son_menu=0;
		$act_list=ActionMenuHelper::getHiddenMenu();
		$model=new admin_log('search');  
		if(isset($_GET['admin_log']))
			$model->attributes=$_GET['admin_log'];
 		$this->render('list',array(
			'dataProvider'=>$model->search(),
			'act_list'=>$act_list,
			'model'=>$model)
		);
	}
}